import 'package:animal/ui/login/model/short_login_model.dart';
import 'package:animal/ui/mine/page/mine_set_page.dart';
import 'package:animal/ui/mine/page/mine_wallet_page.dart';
import 'package:animal/ui/mine/page/vendors_service_page.dart';
import 'package:animal/utils/index.dart';
import 'package:animal/utils/sputils/sp_config.dart';
import 'package:get/get.dart';

class MineIndexController extends GetxController{
  //当前用户信息
  var user = jsonDecode(SpConfig().getUserInfo()!);

  ///前往商家服务
  void gotoVendorsService(){
    Get.to(VendorsServicePage());
  }

  ///前往设置
  void gotoSet(){
    Get.to(const MineSetPage());
  }

  ///前往我的钱包
  void gotoWallet(){
    Get.to(const MineWalletPage());
  }

}